package cn.stylefeng.guns.sys.modular.dataDelivery.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 数据交付表
 * </p>
 *
 * @author author
 * @since 2020-11-20
 */
@TableName("data_delivery")
public class Delivery implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 数据交付id
     */
      @TableId(value = "data_delivery_id", type = IdType.ID_WORKER)
    private Integer dataDeliveryId;

    /**
     * 元数据
     */
    @TableField("metadata_name")
    private String metadataName;

    /**
     * 未交付数据量
     */
    @TableField("data_not_delivery_number")
    private Integer dataNotDeliveryNumber;

    /**
     * 是否删除；0代表删除；1代表可用
     */
    @TableField("is_delete")
    private Integer isDelete;


    public Integer getDataDeliveryId() {
        return dataDeliveryId;
    }

    public void setDataDeliveryId(Integer dataDeliveryId) {
        this.dataDeliveryId = dataDeliveryId;
    }

    public String getMetadataName() {
        return metadataName;
    }

    public void setMetadataName(String metadataName) {
        this.metadataName = metadataName;
    }

    public Integer getDataNotDeliveryNumber() {
        return dataNotDeliveryNumber;
    }

    public void setDataNotDeliveryNumber(Integer dataNotDeliveryNumber) {
        this.dataNotDeliveryNumber = dataNotDeliveryNumber;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "Delivery{" +
        "dataDeliveryId=" + dataDeliveryId +
        ", metadataName=" + metadataName +
        ", dataNotDeliveryNumber=" + dataNotDeliveryNumber +
        ", isDelete=" + isDelete +
        "}";
    }
}
